package com.citycloud.ccuap.tc.admin.defaultrole;

import com.citycloud.ccuap.framework.service.Model;
import lombok.Data;
import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Condition;
import org.springframework.data.mybatis.annotations.Entity;
import org.springframework.data.mybatis.annotations.Id;

@Data
@Entity(table = "sys_project_default_role")
/**
 * @author huk
 * 默认角色表
 */
public class DefaultRole implements Model {
    private static final long serialVersionUID = 1L;

    @Id(strategy = Id.GenerationType.AUTO)
    @Column(name = "id")
    @Condition
    private Long id;
    @Column(name = "role_code")
    @Condition
    private String roleCode;
    @Column(name = "role_name")
    @Condition
    private String roleName;

}
